package com.ktgj.customer.domain.Insurance.dxModel;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;
import java.util.List;

public class DXOrderInfo {
    /**
     * 获取当前时间转换成long类型
     * */
    public long timeStamp;
    /**
     * 保险生效时间
     * */
//    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public String fromTime;
    /**
     * 保险止期
     * */
//    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public String toTime;
    /**
     * 商品编号
     * */
    public int goodsId;
    /**
     * 商品配置id
     * */
    public int skuId;
    public List<DXInsured> insureds;
    /**
     * 是否代扣 Y代扣(默认) N 不代扣
     * */
    public  String collectionFlag;

    public long getTimeStamp() {
        return timeStamp;
    }

    public String getFromTime() {
        return fromTime;
    }

    public void setFromTime(String fromTime) {
        this.fromTime = fromTime;
    }

    public int getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(int goodsId) {
        this.goodsId = goodsId;
    }

    public int getSkuId() {
        return skuId;
    }

    public void setSkuId(int skuId) {
        this.skuId = skuId;
    }

    public List<DXInsured> getInsureds() {
        return insureds;
    }

    public void setInsureds(List<DXInsured> insureds) {
        this.insureds = insureds;
    }

    public String getCollectionFlag() {
        return collectionFlag;
        //return  String.IsNullOrWhiteSpace(Common.AppSettingUtil.yeePayCollectionFlag) ? "Y" : Common.AppSettingUtil.yeePayCollectionFlag;
    }
}
